<extend name="Public/base" />
<!-- 管理员用户组新增和编辑页面 -->
<block name="body">
    <h3>{$auth_group['id']?'编辑':'新增'}用户组</h3>
    <div class="panel-body panel panel-default">
        <form action="{:U('AuthManager/writeGroup')}" enctype="application/x-www-form-urlencoded" method="post">
            <div class="form-group">
                <label class="control-label">用户组</label>
                <div class="controls">
                    <input id="auth-title" type="text" name="title" class="form-control" value="{$auth_group.title}"/>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label">描述</label>
                <textarea id="auth-description" class="form-control" name="description">{$auth_group.description}</textarea>
            </div>
            <div class="form-group">
                <input type="hidden" name="id" value="{$auth_group.id}" />
                <button type="submit" class="btn btn-primary ladda-button" data-style="slide-up" target-form="form-horizontal">确 定</button>
                <button class="btn btn-default" onclick="javascript:history.back(-1);
                        return false;">返 回</button>
            </div>
        </form>
    </div>
<block>
        <block name="script">
        </block>
